@import '~antd/lib/style/themes/default.less';

.main {
  margin: 0 auto;
  width: 900px;
  min-height: 450px;
  background: white;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.13);
  border-radius: 5px;
  display: flex;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
    .right {
      display: none;
    }
  }

  .icon {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.2);
    margin-left: 16px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }
  .login {
    margin-top: 86px;
    width: 300px;
    @media screen and (max-width: @screen-sm) {
      margin-top: 40px;
      text-align: center;
      :global {
        .title:after {
           visibility: hidden;
        }
      }
    }
    .tabs {
      padding: 0 2px;
      margin: 0 -2px;
      :global {
        .ant-tabs-tab {
          font-size: 16px;
          line-height: 24px;
        }
        .ant-input-affix-wrapper .ant-input:not(:first-child) {
          padding-left: 34px;
        }
      }
    }

    :global {
      .ant-tabs .ant-tabs-bar {
        border-bottom: 0;
        margin-bottom: 24px;
        text-align: center;
      }

      .ant-form-item {
        margin-bottom: 30px;
      }
      .title {
        color: rgba(0, 0, 0, 0.85);
        line-height: 33px;
        font-size: 20px;
        &:after {
          content: '';
          display: block;
          width: 38px;
          height: 3px;
          background: rgba(255, 86, 71, 1);
          margin-top: 14px;
          margin-bottom: 18px;
        }
      }
    }

    .prefixIcon {
      font-size: @font-size-base;
      color: @disabled-color;
    }

    .getCaptcha {
      display: block;
      width: 100%;
    }

    .submit {
      width:150px;
      height:40px;
    }
  }
  .left {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .right {
    width: 410px;
    height: 450px;
  }
  .bg {
    width: 100%;
    height: 100%;
  }
}
